﻿using System;
using System.ServiceModel;
using XchangeStreamer.Core.Performance;
using System.ServiceModel.Channels;

namespace XchangeStreamer.Performance.SDK
{
    internal sealed class Performance : ClientBase<IPerformance>, IPerformance
    {
        #region Public Const.

        public Performance(Binding binding, EndpointAddress remoteAddress)
            : base(binding, remoteAddress)
        {
        }

        #endregion

        #region IPerformance Members

        public Core.PerformanceCounters GetPerformanceCounters()
        {
            return base.Channel.GetPerformanceCounters();
        }

        #endregion
    }
}